import scrapy




class MyimageSpider(scrapy.Spider):
    name = 'myimage'
    allowed_domains = ['www.baidu.com']
    start_urls = ['http://www.baidu.com/']

    def parse(self, response):
        item = {}
        item['src'] = 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png'
        yield item